@extends('admin.layouts.base')
@section('title','广告详情')
@section('pageHeader','广告详情')

@section('content')
    <style>
        td span {
            line-height: 50px;
        }
    </style>
    <div class="row">
        <div class="col-lg-12">
            {{--提示信息弹出框--}}
            @include('admin.partials.errors')
            @include('admin.partials.success')
            {{--提示信息弹出框--}}

            {{--基本信息 开始--}}
            <div class="box box-success">
                <div class="box-header">
                    <h1 class="box-title">基本信息</h1>
                </div>
                <div class="box-body">
                    <table class="table table-striped">
                        <thead></thead>
                        <tbody>
                        <tr>
                            <td><span>交易编号</span></td>
                            <td colspan="3">
                                <span>
                                    {{ $data->name }}
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>交易价格</span></td>
                            <td colspan="3">
                                <span>
                                    {{ $data->price }}
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>交易量</span></td>
                            <td colspan="3">
                                <span>
                                    {{ $data-> number}}
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>排名</span></td>
                            <td colspan="3">
                                <span>
                                    {{ $data->index }}
                                </span>
                            </td>
                        </tr>

                        <tr>
                            <td><span>支持</span></td>
                            <td colspan="3">
                                <span>
                                    @foreach($data->pay as $v)
                                        {{\App\Models\Orm\Pay::getTypeText($v)}}
                                    @endforeach
                                </span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>


@endsection